//
//  KWMUserDao.h
//  IWant_User
//
//  Created by Yaotian on 12/26/14.
//  Copyright (c) 2014 kollway. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "KWMUser.h"

@interface KWMUserDao : NSObject

@property (nonatomic, copy) NSString *sessionId;
@property (nonatomic) NSString *userPhone;

+ (KWMUserDao *)shareDao;
- (KWMUser *)loginUser;
- (void)setLoginUser:(KWMUser *)user :(NSString *)sessionId;
- (BOOL)isLogin;
- (void)logout;
- (void)refresh;
- (void)saveUser:(KWMUser *)user;

@end
